<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Turtle DB: ca.uqac.dim.ddb.UnaryRelation Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Turtle DB
   
   </div>
   <div id="projectbrief">A mini DDBMS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.ddb.UnaryRelation Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::ddb::UnaryRelation" --><!-- doxytag: inherits="ca::uqac::dim::ddb::Relation" --><div class="dynheader">
Inheritance diagram for ca.uqac.dim.ddb.UnaryRelation:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.png" usemap="#ca.uqac.dim.ddb.UnaryRelation_map" alt=""/>
  <map id="ca.uqac.dim.ddb.UnaryRelation_map" name="ca.uqac.dim.ddb.UnaryRelation_map">
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html" alt="ca.uqac.dim.ddb.Relation" shape="rect" coords="198,0,386,24"/>
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_projection.html" alt="ca.uqac.dim.ddb.Projection" shape="rect" coords="0,112,188,136"/>
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_selection.html" alt="ca.uqac.dim.ddb.Selection" shape="rect" coords="198,112,386,136"/>
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_variable_table.html" alt="ca.uqac.dim.ddb.VariableTable" shape="rect" coords="396,112,584,136"/>
</map>
 </div></div>

<p><a href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#aed24439731f3e33059a0f4f3549d6bd2">setRelation</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> r)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#a8f3bf5d8b76029077385fce69cf62d83">reset</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#ac8571dc5ff32def671512f811dd3fc44">tupleCount</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#aa676402fb824ffb5fe4541958fceb33b">m_relation</a></td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8f3bf5d8b76029077385fce69cf62d83"></a><!-- doxytag: member="ca::uqac::dim::ddb::UnaryRelation::reset" ref="a8f3bf5d8b76029077385fce69cf62d83" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#a8f3bf5d8b76029077385fce69cf62d83">ca.uqac.dim.ddb.UnaryRelation.reset</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resets the enumeration of tuples, i.e. starts back at the first tuple of the relation. </p>

<p>Reimplemented from <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html#abfa610a33e112f2ee8140bdf34a843ff">ca.uqac.dim.ddb.Relation</a>.</p>

</div>
</div>
<a class="anchor" id="aed24439731f3e33059a0f4f3549d6bd2"></a><!-- doxytag: member="ca::uqac::dim::ddb::UnaryRelation::setRelation" ref="aed24439731f3e33059a0f4f3549d6bd2" args="(Relation r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#aed24439731f3e33059a0f4f3549d6bd2">ca.uqac.dim.ddb.UnaryRelation.setRelation</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac8571dc5ff32def671512f811dd3fc44"></a><!-- doxytag: member="ca::uqac::dim::ddb::UnaryRelation::tupleCount" ref="ac8571dc5ff32def671512f811dd3fc44" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#ac8571dc5ff32def671512f811dd3fc44">ca.uqac.dim.ddb.UnaryRelation.tupleCount</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of actual tuples present in the query. This number is different from the cardinality of the query; it counts the number of tuples that are present in the leaves of the query tree. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The tuple count </dd></dl>

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html#a2497f0211ff973703b654dbae430d67d">ca.uqac.dim.ddb.Relation</a>.</p>

<p>Reimplemented in <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_variable_table.html#ac2aa741e544137557a63a15e66de67ee">ca.uqac.dim.ddb.VariableTable</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aa676402fb824ffb5fe4541958fceb33b"></a><!-- doxytag: member="ca::uqac::dim::ddb::UnaryRelation::m_relation" ref="aa676402fb824ffb5fe4541958fceb33b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html#aa676402fb824ffb5fe4541958fceb33b">ca.uqac.dim.ddb.UnaryRelation.m_relation</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Engin/src/ca/uqac/dim/ddb/<a class="el" href="_unary_relation_8java.html">UnaryRelation.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1ddb.html">ddb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_unary_relation.html">UnaryRelation</a>      </li>

    <li class="footer">Generated on Thu Aug 30 2012 12:03:10 for Turtle DB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
